<!--
 * @FilePath     : /study_code/css/contain10 copy.html
 * @Description  : d11
 * @Date         : 2025-04-28 14:37:40
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-04-28 14:37:40
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>documentName</title>
    <link rel="stylesheet" href="" />
    <style>
      body {
        counter-reset: my-list;
      }
      div > div::before {
        counter-increment: my-list;
        content: '（' counter(my-list) '）：';
      }
    </style>
  </head>
  <body>
    <div>
      <div>第1行</div>
      <div>第2行</div>
      <div style="contain: style">第3行</div>
      <div>第4行</div>
      <div>第5行</div>
      <div>第6行</div>
    </div>
    <script></script>
  </body>
</html>